package com.zkyc.framework.common.pojo;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (SystemMenu)实体类
 *
 * @author wj
 * @since 2022-10-21 09:27:13
 */
@TableName("system_menu")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Menu implements Serializable {
    private static final long serialVersionUID = -41001834681679026L;
    /**
     * ID
     */
    private Integer id;
    /**
     * 菜单名
     */
    private String menuName;
    /**
     * 父id
     */
    private Integer parentId;
    /**
     * 排序
     */
    private String sort;
    /**
     * url
     */
    private String menuUrl;
    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer isDelete;
    /**
     * 更新时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private List<Menu>  childrenList;
}

